<!DOCTYPE html>
<html lang="en">
<head>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="shortcut icon" href="<?php echo base_url();?>public/img/favicon.ico" type="image/x-icon">
        <link rel="icon" href="<?php echo base_url();?>public/img/favicon.ico" type="image/x-icon">
	<link href="<?php echo base_url(); ?>public/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url(); ?>public/css/bootstrapValidator.min.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url(); ?>public/js/jquery-ui-1.10.4.custom/css/redmond/jquery-ui-1.10.4.custom.min.css" type="text/css" rel="stylesheet" />
	<link href="<?php echo base_url(); ?>public/css/global.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo base_url(); ?>public/css/home.css" rel="stylesheet" type="text/css" />
        <script src="<?php echo base_url(); ?>public/js/jquery-1.9.1.MIN.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>public/js/jquery-ui-1.10.4.custom.min.js" type="text/javascript" ></script>
        <script src="<?php echo base_url(); ?>public/js/bootstrap.js" type="text/javascript" ></script>
        <script src="<?php echo base_url(); ?>public/js/bootstrapValidator.min.js" type="text/javascript" ></script>
	<script src="<?php echo base_url(); ?>public/js/home.js" type="text/javascript" ></script>
	<script src="<?php echo base_url(); ?>public/js/global.js" type="text/javascript" ></script>
</head>
<body>
    <div class="container">
    <?php $this->load->view("header"); ?>
    <div class="clear"></div>
    <div id="center-wrapper">
            <img src="<?php echo base_url(); ?>public/img/Logo.png" title="ticfortac" alt="ticfortac" />
            <form  class="form-inline"  id="search_form" role="form" action="index.php/search" method="POST">
                <div class="form-group">
                    <input data-bv-notempty-message="This field is required" data-bv-notempty="true" type="text" name="want" class="autocompleteinput form-control" placeholder="I want to learn"  /> 
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">&amp;</div>
                        <input type="text" name="teach" class="autocompleteinput form-control" placeholder="I want to teach"  />
                    </div>
                </div>

                <input type="submit" value="GO" class="btn btn-success btn-sm" />

            </form>
    </div>

    </div><!-- end of content -->


    <!-- Modal -->
    <div class="modal fade bs-example-modal-sm" id="signup_model" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
            <h4 class="modal-title" id="myModalLabel">Join Us</h4>
          </div>
          <div class="modal-body">
             <form id="signup_form" role="form" class="form validate_form_signup" action="index.php/profile/signup" method="POST">
                    <div class="alert alert-danger" style="display: none;"></div>
                      <div class="form-group">
                        <input data-bv-notempty-message="This field is required" 
                               data-bv-notempty="true" 
                               class="form-control" 
                               type="text" 
                               name="firstname" 
                               id="signup_firstname" 
                               placeholder="First Name"/>
                    </div>
                      <div class="form-group">
                        <input data-bv-notempty-message="This field is required" 
                               data-bv-notempty="true" 
                               class="form-control" 
                               type="text" 
                               name="lastname" 
                               id="signup_lastname" 
                               placeholder="Last Name"/>
                    </div>
                    <div class="form-group">
                        <input data-bv-notempty-message="The input is not a valid email address" 
                               class="form-control" 
                               type="email" 
                               name="email"
                               id="signup_email" 
                               placeholder="Email"/>
                    </div>
                    <div class="form-group">
                        <input data-bv-notempty-message="This field is required" 
                               data-bv-notempty="true" 
                               class="form-control" 
                               type="password" 
                               name="password" 
                               id="signup_password" 
                               placeholder="Password"/>
                    </div>
                    <div class="form-group">
                        <input class="btn btn-success btn-lg btn-block"  type="submit" value="GET STARTED!" />
                    </div>
                </form>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
          </div>
        </div>
      </div>
    </div><!--end of modal-->

    <!-- Modal -->
    <div class="modal fade bs-example-modal-sm" id="login_model" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
            <h4 class="modal-title" id="myModalLabel">LOGIN</h4>
          </div>
          <div class="modal-body">
             <form id="login_form" role="form" class="form validate_form" action="index.php/profile" method="POST">
                 <div class="alert alert-danger" style="display: none;"></div>
                    <div class="form-group">
                        <input class="form-control" 
                               data-bv-notempty-message="The input is not a valid email address" 
                               type="email" 
                               name="email" 
                               id="signup_email" 
                               placeholder="Email"/>
                    </div>
                    <div class="form-group">
                          <input class="form-control" 
                                 data-bv-notempty-message="This field is required" 
                                 data-bv-notempty="true" 
                                 type="password" 
                                 name="password" 
                                 id="signup_password" 
                                 placeholder="Password"/>
                    </div>
                    <div class="checkbox">
                    <label>
                      <input name="remember_me" type="checkbox"> Remember me
                    </label>
                  </div>
                    <div class="form-group">
                        <input class="btn btn-primary btn-lg btn-block"  type="submit" value="LOGIN" />
                    </div>
                </form>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
          </div>
        </div>
      </div>
    </div><!--end of modal-->
</body>
</html>